<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class delete_vdo_model extends CI_Model {

	public function delete_vdo($id)
	{
		$this->db->where('vdo_id' ,$id);
		$this->db->delete('vdo');
	}	

	public function delete_like($id)
	{
		$this->db->where('vdo_id' ,$id);
		$this->db->delete('like');
	}

	public function delete_dislike($id)
	{
		$this->db->where('vdo_id' ,$id);
		$this->db->delete('dislike');
	}

	// public function delete_slide($id)
	// {
	// 	$this->db->where('vdo_id' ,$id);
	// 	$this->db->delete('slide');
	// }

	public function delete_vdothumb($id)
	{
		$this->db->where('vdo_id' ,$id);
		$this->db->delete('vdo_thumb');
	}

}